package com.example.message.config;


import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import com.github.jeffreyning.mybatisplus.plugin.MppPaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanCofig {

    @Bean
    public EasySqlInjector easySqlInjector () {
        return new EasySqlInjector();
    }


    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new MppPaginationInterceptor();
    }
}
